package com.ruoyi.project.system.domain;

import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 出库任务对象 sys_distribution
 *
 * @author orange
 * @date 2022-04-09
 */
public class SysDistribution extends BaseEntity {
  private static final long serialVersionUID = 1L;

  /** 订单任务Id */
  private Long distributionId;

  /** 订单编号 */
  @Excel(name = "订单编号")
  private Long orderId;

  /** 状态 */
  @Excel(name = "状态")
  private Integer distributionStatus;

  /** 清单列表 */
  @Excel(name = "清单列表")
  private String goodsShow;

  /** 获取清单json格式 */
  private String goodsList;

  /** 任务处理人 */
  @Excel(name = "任务处理人")
  private Long dealPerson;

  public Long getDistributionId() {
    return distributionId;
  }

  public void setDistributionId(Long distributionId) {
    this.distributionId = distributionId;
  }

  public Long getOrderId() {
    return orderId;
  }

  public void setOrderId(Long orderId) {
    this.orderId = orderId;
  }

  public Integer getDistributionStatus() {
    return distributionStatus;
  }

  public void setDistributionStatus(Integer distributionStatus) {
    this.distributionStatus = distributionStatus;
  }

  public String getGoodsShow() {
    return goodsShow;
  }

  public void setGoodsShow(String goodsShow) {
    this.goodsShow = goodsShow;
  }

  public String getGoodsList() {
    return goodsList;
  }

  public void setGoodsList(String goodsList) {
    this.goodsList = goodsList;
  }

  public Long getDealPerson() {
    return dealPerson;
  }

  public void setDealPerson(Long dealPerson) {
    this.dealPerson = dealPerson;
  }

  @Override
  public String toString() {
    return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
        .append("distributionId", getDistributionId())
        .append("orderId", getOrderId())
        .append("distributionStatus", getDistributionStatus())
        .append("goodsShow", getGoodsShow())
        .append("goodsList", getGoodsList())
        .append("dealPerson", getDealPerson())
        .append("createTime", getCreateTime())
        .append("updateTime", getUpdateTime())
        .toString();
  }
}
